home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Demos / Delphi.Net / CLR / RichText / RichTextBoxDemo.dpr < prev    next >
Encoding:
Text File  |  2004-10-22  |  5.4 KB  |  100 lines

  1. { *********************************************************************** }
  2. {                                                                         }
  3. { Copyright (c) 2003 Borland Software Corporation                         }
  4. {                                                                         }
  5. { Written by: Rick Beerendonk (rick@beerendonk.com)                       }
  6. {             Microloon BV                                                }
  7. {             The Netherlands                                             }
  8. {                                                                         }
  9. { ----------------------------------------------------------------------- }
  10. { THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY  }
  11. { KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE     }
  12. { IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A              }
  13. { PARTICULAR PURPOSE.                                                     }
  14. {                                                                         }
  15. { *********************************************************************** }
  16.  
  17. program RichTextBoxDemo;
  18.  
  19. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.dll'}
  20. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Data.dll'}
  21. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Drawing.dll'}
  22. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Windows.Forms.dll'}
  23. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.XML.dll'}
  24. {$R 'Borland.Examples.Delphi.RichTextBox.Find.TFindForm.resources' 'Borland.Examples.Delphi.RichTextBox.Find.resx'}
  25. {$R 'Borland.Examples.Delphi.RichTextBox.Info.TInfoBox.resources' 'Borland.Examples.Delphi.RichTextBox.Info.resx'}
  26. {$R 'Borland.Examples.Delphi.RichTextBox.Main.TMainForm.resources' 'Borland.Examples.Delphi.RichTextBox.Main.resx'}
  27. {$R 'RichTextBoxDemo.res' 'RichTextBoxDemo.rc'}
  28.  
  29. uses
  30.   System.Reflection,
  31.   System.Runtime.CompilerServices,
  32.   System.Windows.Forms,
  33.   Borland.Examples.Delphi.RichTextBox.Main in 'Borland.Examples.Delphi.RichTextBox.Main.pas' {Borland.Examples.Delphi.RichTextBox.Main.TMainForm: System.Windows.Forms.Form},
  34.   Borland.Examples.Delphi.RichTextBox.Find in 'Borland.Examples.Delphi.RichTextBox.Find.pas' {Borland.Examples.Delphi.RichTextBox.Find.TFindForm: System.Windows.Forms.Form},
  35.   Borland.Examples.Delphi.RichTextBox.Info in 'Borland.Examples.Delphi.RichTextBox.Info.pas' {Borland.Examples.Delphi.RichTextBox.Info.TInfoBox: System.Windows.Forms.Form},
  36.   Borland.Examples.Delphi.RichTextBoxEx in 'Borland.Examples.Delphi.RichTextBoxEx.pas' {Borland.Examples.Delphi.RichTextBoxEx.TRichTextBoxEx: System.Windows.Forms.RichTextBox};
  37.  
  38. {$REGION 'Program/Assembly Information'}
  39. //
  40. // General Information about an assembly is controlled through the following
  41. // set of attributes. Change these attribute values to modify the information
  42. // associated with an assembly.
  43. //
  44. [assembly: AssemblyTitle('Rich Text Box Control Demo')]
  45. [assembly: AssemblyDescription('Example for Borland« Delphi written by Rick Beerendonk')]
  46. [assembly: AssemblyConfiguration('')]
  47. [assembly: AssemblyCompany('Borland« Software Corporation')]
  48. [assembly: AssemblyProduct('Rich Text Box Control Demo')]
  49. [assembly: AssemblyCopyright('Copyright ⌐ 2003 Borland« Software Corporation.')]
  50. [assembly: AssemblyTrademark('')]
  51. [assembly: AssemblyCulture('')]
  52.  
  53. //
  54. // Version information for an assembly consists of the following four values:
  55. //
  56. //      Major Version
  57. //      Minor Version 
  58. //      Build Number
  59. //      Revision
  60. //
  61. // You can specify all the values or you can default the Revision and Build Numbers 
  62. // by using the '*' as shown below:
  63.  
  64. [assembly: AssemblyVersion('1.0.*')]
  65.  
  66. //
  67. // In order to sign your assembly you must specify a key to use. Refer to the 
  68. // Microsoft .NET Framework documentation for more information on assembly signing.
  69. //
  70. // Use the attributes below to control which key is used for signing. 
  71. //
  72. // Notes: 
  73. //   (*) If no key is specified, the assembly is not signed.
  74. //   (*) KeyName refers to a key that has been installed in the Crypto Service
  75. //       Provider (CSP) on your machine. KeyFile refers to a file which contains
  76. //       a key.
  77. //   (*) If the KeyFile and the KeyName values are both specified, the 
  78. //       following processing occurs:
  79. //       (1) If the KeyName can be found in the CSP, that key is used.
  80. //       (2) If the KeyName does not exist and the KeyFile does exist, the key 
  81. //           in the KeyFile is installed into the CSP and used.
  82. //   (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
  83. //       When specifying the KeyFile, the location of the KeyFile should be
  84. //       relative to the project output directory which is
  85. //       %Project Directory%\bin\<configuration>. For example, if your KeyFile is
  86. //       located in the project directory, you would specify the AssemblyKeyFile 
  87. //       attribute as [assembly: AssemblyKeyFile('..\\..\\mykey.snk')]
  88. //   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
  89. //       documentation for more information on this.
  90. //
  91. [assembly: AssemblyDelaySign(false)]
  92. [assembly: AssemblyKeyFile('')]
  93. [assembly: AssemblyKeyName('')]
  94. {$ENDREGION}
  95.  
  96. [STAThread]
  97. begin
  98.   Application.Run(TMainForm.Create);
  99. end.
  100.